package DBLayer;

import ModelLayer.*;

import java.util.ArrayList;
/**
 * IFDBInvoice.java
 * @author Brian Lassen
 * @version 22. Marts 2012
 */
public interface IFDBInvoice {
	public ArrayList<Invoice> getAllInvoices(boolean retriveAssociation);
	public Invoice findInvoice(int invoiceno, boolean retriveAssociation);
	public Invoice searchInvoiceDate(String invoicedate, boolean retriveAssociation);
	public Invoice searchInvoiceAmount(int amount, boolean retriveAssociation);
	public int createInvoice(Invoice myInvoice);
	public int updateInvoice(Invoice myInvoice);
	public int deleteInvoice(int id);
}
